package com.tool.engine.export.task;


import com.tool.engine.export.function.ProcessFunction;

import java.util.Collections;
import java.util.List;

public class CommonExportTask<T> extends AbstractExportTask<T> {

    public CommonExportTask(ProcessFunction<T> consumer, Boolean all, String fileName, String sheetName, Class<T> clazz) {
        super(consumer, all, false, fileName, sheetName, clazz);
    }

    public CommonExportTask(ProcessFunction<T> consumer, String fileName, String sheetName,Class<T> clazz, Boolean all) {
        this(consumer, all,fileName, sheetName, clazz);
    }


    public CommonExportTask(ProcessFunction<T> consumer, String fileName, String sheetName,Class<T> clazz) {
        this(consumer, false,fileName, sheetName, clazz);
    }

    @Override
    public List<List<String>> getHead() {
        return Collections.emptyList();
    }


}
